import { createRouter, createWebHashHistory } from 'vue-router'
import noCheckRoutes from '@/router/noCheckRoutes'
import 'nprogress/nprogress.css' // progress bar style

const router = createRouter({
  history: createWebHashHistory(),
  routes: [...noCheckRoutes]
})
export function resetRouter() {
  router.replace({ path: '/login' })
}

export default router
